package com.aixx.springcloud.alibaba.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shkstart
 * @create 2021-02-18 10:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResult<T> {

    private Integer code;
    private String messgae;
    private T date;

    public CommonResult(Integer code,String messgae){
        this(code, messgae, null);

    }


}

